 <div ng-controller="DobreakruleslistCtrl">
 <!-- 头部 -->
 	<div class="panel panel-default">
	 	<div class="panel-body" style="padding-top: 0;padding-bottom: 0;">
	 		<div class="nav navbar-nav m-t">
	 			<a ui-sref="app.order.breakrules" ><span style="background-color: #e0e0e0; text-align: center;"><i class="glyphicon glyphicon-arrow-left" style="height:30px;width:30px; "></i></span></a>              
	            <span><b>监控中心</b></span>
	            <i class="fa fa-angle-right" style="font-size:20px"></i>
	            <span><b>电量监控</b> </span>
	            <i class="fa fa-angle-right" style="font-size:20px"></i>
	            <span><b>电量监控列表</b></span> 
	         </div>
	        <!-- nabar right -->
	        <ul class="nav navbar-nav navbar-right">          
	          <li class="dropdown" dropdown>
	            <a href class="dropdown-toggle clear" dropdown-toggle>
	              <span class="thumb-sm avatar pull-right m-t-n-sm m-b-n-sm m-l-sm">
	                <img src="img/a0.jpg" alt="...">
	                <i class="on md b-white bottom"></i>
	              </span>
	              <span class="hidden-sm hidden-md"><b>{{namedata}}</b></span> <b class="caret"></b>
	            </a>
	            <!-- dropdown -->
	            <ul class="dropdown-menu animated fadeInRight w">  
	              <li>
	                <a ui-sref="app.user.info">用户信息</a>
	              </li>       
	              <li class="divider"></li>
	              <li>
	                <a ui-sref="access.signin" ng-click="logout()">登出</a>
	              </li>
	            </ul>
	            <!-- / dropdown -->
	          </li>
	        </ul>
	 	</div>
	</div>
	<div class="panel  m-t-n-md">
  <div class="panel-body">
    <div class="panel panel-primary">
      <div class="panel-heading text-center">
        工单编号：{{$state.params.doid}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        工单状态：{{aaData.violation_status}}
      </div>      
    </div>

    <div class="panel panel-default">
      <div class="panel-heading">
        <b>基本信息</b>
      </div>
      <div class="panel-body">
        <h4 style="color: #337ab7"><b>工单信息</b></h4>
        <div class="row">
          <div class="col-md-6">
            <table class="table">
              <tr>
                <th>工单编号：{{$state.params.doid}}</th>
                <th></th>
              </tr>
              <tr>
                <th>违规类型：{{aaData.violation_type}}</th>
                <th></th>
              </tr>
              
            </table>
          </div>
          <div class="col-md-6">
            <table class="table">
              <tr>
                <th>违规时间：{{aaData.violation_time}}</th>
                <th></th>
              </tr>
              <tr>
                <th>功率峰值：{{aaData.top_power}}</th>
                <th></th>
              </tr>              
            </table>            
          </div>          
        </div>  

        <h4 style="color: #337ab7"><b>设备信息</b></h4>
        <div class="row">
          <div class="col-md-6">
            <table class="table">
              <tr>
                <th>设备ID：{{aaData.equipment_id}}</th>
                <th></th>
              </tr>
              <tr>
                <th>设备名称：{{aaData.equipment_name}}</th>
                <th></th>
              </tr>
              <tr>
                <th>产品名称：{{aaData.equipment_info.product_name}}</th>
                <th></th>
              </tr>
            </table>
          </div>
          <div class="col-md-6">
            <table class="table">
              <tr>
                <th>校园位置：{{aaData.equipment_info.location}}</th>
                <th></th>
              </tr>
              <tr>
                <th>负责人：{{aaData.equipment_info.responser_name}}</th>
                <th></th>
              </tr>
              <tr>
                <th>联系电话：{{aaData.equipment_info.responser_phone}}</th>
                <th></th>
              </tr>
            </table>            
          </div>          
        </div>            

      </div>
    </div>

    <div class="panel panel-default">
      <div class="panel-heading">
        <b>处理信息</b>
      </div>
      <div class="panel-body">
        <table class="table">
          <tr>
            <th>处理人：{{namedata}}</th>
            <th>处理时间：{{nowtime}}</th>            
          </tr>
          <tr>
            <th>处理描述</th>
          </tr>          
        </table>
        <div class="wrapper-sm m-t-n-md">
         <textarea class="form-control" rows="3"  ng-model="des"></textarea>          
        </div>
        
      </div>
    </div>

    <div class="text-center">
    	<button class="btn btn-sm" style="color:#fff;border-color: #337ab7;background-color: #337ab7 " ng-click="handle(aaData.version)">确认</button>
    	<button class="btn btn-sm">取消</button>
    </div>

    



  </div>
</div>

</div>
